home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / lan / vds30c.zip / AV-INST.BAT next >
DOS Batch File  |  1993-12-02  |  2KB  |  61 lines

  1. @ECHO OFF
  2. rem                   AV-INST.BAT
  3. rem This is a sample batch file that can be used to install VDS 3.0
  4. rem on local workstations as they log into the network server. 
  5. rem It also loads the VDSTSR if it is not active.
  6.  
  7. rem The system administrator should place VDS 3.0 files in a common
  8. rem directory on the file server. This batch file should also be placed 
  9. rem in the same directory. All files should be flagged as Shareable.
  10. rem Users should be able to search and read files in this directory. In 
  11. rem the system login script (or equivalent), a drive letter should be 
  12. rem mapped to this directory. We use J: here.
  13.  
  14. rem After that, the batch file should be invoked. Please consult your
  15. rem network administrator's guide for detailed instructions.
  16.  
  17. rem For example, Netware system login script would contain:
  18.  
  19. rem    MAP  J:=MYSERVER/SYS:APPS\VDS30
  20. rem    #command  /c  J:AV-INST.BAT
  21.  
  22. rem **********************************************************************
  23.  
  24. rem System administrator mapped VDS 3.0 directory to J: drive
  25.  
  26. J:
  27.  
  28. rem If VDS Pro was already installed, then do nothing
  29.  
  30. IF EXIST C:\VDS30\VDS.EXE  GOTO  DONE
  31.  
  32. echo A new anti-virus package will be installed on your workstation.
  33. echo This will take only a few minutes. Please be patient.
  34.  
  35. PAUSE
  36. J:INSTALL.EXE  -N  J:\VDS30  C:\VDS30
  37. CLS
  38.  
  39. :DONE
  40.  
  41. rem Check and see if VDSTSR is loaded on the workstation
  42. rem Available only in the registered version
  43.  
  44. rem J:ISVDSTSR.COM
  45. rem IF ERRORLEVEL = 1  GOTO  FINISH
  46.  
  47. echo You have not loaded VDSTSR anti-virus on your workstation.
  48. echo To protect the LAN, we do not allow access until VDSTSR is loaded.
  49. echo Please contact the system manager if you need help.
  50.  
  51. rem Since it was not loaded, we will load the VDSTSR now
  52.  
  53. rem LH  J:VDSTSR.EXE
  54.  
  55. :FINISH
  56.  
  57. rem Change back to the original drive (H: in our case)
  58.  
  59. H:
  60.  
  61.